package com.whsxt.feign;

import com.whsxt.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-24 11:34
 * @Description:
 */
@FeignClient(value = "member-service")
public interface ProdCommMemberFeign {


    /**
     * 远程调用获取用户集合
     *
     * @param userIds
     * @return
     */
    @PostMapping("/p/findUserInfoByUserIds")
    List<User> findUserInfoByUserIds(@RequestBody List<String> userIds);


}
